export class DiaryModel {
    time: number
    gold: number
    exp: number
    diamond: number
    equipments: number[]
    equipmentsDestroy: number[]
    skillBooks: number[]
    skillBooksDestroy: number[]
    items: any
    constructor(opts: any = {}) {
        this.time = opts.time || 0
        this.gold = opts.gold || 0
        this.exp = opts.exp || 0
        this.diamond = opts.diamond || 0
        this.equipments = opts.equipments || []
        this.equipmentsDestroy = opts.equipmentsDestroy || []
        this.skillBooks = opts.skillBooks || []
        this.skillBooksDestroy = opts.skillBooksDestroy || []
        this.items = opts.items || {}
    }
}